class Event < ActiveRecord::Base
	belongs_to :type_event
	belongs_to :computer
	
	validates_associated :type_event

	
	validates_presence_of :information
	validates_presence_of :computer_id
	validates_presence_of :type_event_id
end
